Skip to content

Conversation

scottmcm
Copy link
Member

Perf is almost certainly irrelevant, but might as well simplify it, since trailing_zeros does exactly what's needed.

Perf is almost certainly irrelevant, but might as well simplify it, since `trailing_zeros` does exactly what's needed.
@rustbot
Copy link
Collaborator

rustbot commented Apr 16, 2023

r? @wesleywiser

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 16, 2023
@fee1-dead
Copy link
Member

r? @fee1-dead

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 16, 2023

📌 Commit 99fd9cb has been approved by fee1-dead

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 16, 2023
fee1-dead added a commit to fee1-dead-contrib/rust that referenced this pull request Apr 16, 2023
Remove the loop in `Align::from_bytes`

Perf is almost certainly irrelevant, but might as well simplify it, since `trailing_zeros` does exactly what's needed.
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 16, 2023
…fee1-dead

Rollup of 4 pull requests

Successful merges:

 - rust-lang#110397 (Move some utils out of `rustc_const_eval`)
 - rust-lang#110398 (use matches! macro in more places)
 - rust-lang#110400 (more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_defau…)
 - rust-lang#110402 (Remove the loop in `Align::from_bytes`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 38215fb into rust-lang:master Apr 16, 2023
@rustbot rustbot added this to the 1.71.0 milestone Apr 16, 2023
@scottmcm scottmcm deleted the align-tz branch April 16, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants